<template>
  <div>
    <img src="https://tse4-mm.cn.bing.net/th/id/OIP-C.srHXo7ACU3n_-KRZR2Z3rAHaIF?pid=ImgDet&rs=1" alt="">
  <p>这是一只可爱的狗</p>
  <img src="https://img.zcool.cn/community/01cfe15e884f18a801216518547c98.jpg@1280w_1l_2o_100sh.jpg" alt="">
  <p>这是一只听话的狗</p>
  </div>
</template>

<script>
export default {

}
</script>

<style>
.my_div {
  width: 200px;
  border: 1px solid black;
  text-align: center;
  float: left;
}

.my_div img {
  width: 100%;
  height: 200px;
}
</style>